package com.smartleanx.module.hrm.dal.dataobject.employee;

import com.smartleanx.module.hrm.eums.employee.HighestEducationEnum;
import com.smartleanx.module.hrm.eums.employee.TeachingMethodEnum;
import lombok.*;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.*;
import com.smartleanx.framework.tenant.core.db.TenantBaseDO;

/**
 * 员工教育经历 DO
 *
 * @author tengcj
 */
@TableName("hrm_employee_education_experience")
@KeySequence("hrm_employee_education_experience_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库，可不写。
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class EmployeeEducationExperienceDO extends TenantBaseDO {

    /**
     * 主键id
     */
    @TableId
    private Long id;
    /**
     * 员工id
     */
    private Long employeeId;
    /**
     * 学历
     *
     * 枚举 {@link HighestEducationEnum}
     */
    private Integer education;
    /**
     * 毕业院校
     */
    private String graduateSchool;
    /**
     * 专业
     */
    private String major;
    /**
     * 入学时间
     */
    private LocalDateTime admissionTime;
    /**
     * 毕业时间
     */
    private LocalDateTime graduationTime;
    /**
     * 教学方式
     *
     * 枚举 {@link TeachingMethodEnum}
     */
    private Integer teachingMethod;
    /**
     * 是否第一学历
     */
    private Integer isFirstDegree;
    /**
     * 顺序
     */
    private Integer sort;

}
